            Mega Man 5 / Rockman 5
            Charge Sound Fade Out
            v1.0, 14th of April 2020


1) General Info
2) Patching
3) Compatibility with other hacks
4) Technical information
5) Credits



     1) General Info

This hack is for Mega Man 5 and/or Rockman 5 on NES/Famicom.

It alters Mega Man's charge shot charging sound so that upon holding the charge, 
the sound fades out after a short while instead of looping forever.

Originally, I made the charge shot fading out for my Protoman hack (Mega Man 5 - Protoman Edition),
but since I decided to make a charge shot sound fade out hack for MM4 and MM6,
I decided to release this MM5 version as standalone as well.


     2) Patching

Compatible with both MM5 and RM5. Compatible roms tested with include:

Mega Man 5 (U).nes
Mega Man 5 (USA).nes
Rockman 5 - Blues no Wana! (Japan).nes

Using an IPS patcher such as Lunar IPS.



     3) Compatibility with other hacks

This hack only alters one sound definition and makes use of some free space at the end of the sound bank,
so it should be compatible with any MM5 romhack that doesn't alter that same sound or use the free space
I used for the new sound definition.

For instance it is compatible with Puresabe's and Rock5easily's excellent lag reduction patch that you can find on this site:
http://borokobo.web.fc2.com/
The one I'm talking about is called "Execution speed optimization and function expansion patch" under the section "Rockman 5"
when using google translate. 

So you can enjoy their hacks' lag free experience with this hack's charge sound fade out as well.
While my hack is compatible with both MM5 (USA) and RM5 (JAP), some versions of their hacks are only compatible with RM5.



     4) Technical information

Modified bytes:
Charge shot sound pointer at rom address 30A97-30A98
Free space at the end of the sound bank used to create the altered charging sound at rom address 35F60->35FC6



     5) Credits

ASM editing and sound editing: MetHy aka Ness

Thanks to Matrixz for his documentations on MM5's sound engine.
Thanks to Rock5easily for his MM5 documentation.
Thanks to the FCEU X devs for their Hex Editor and Debugger.

Feel free to use this hack in your own hacks, no need to ask me, just a small credit is enough.